
export default {
    name: 'ab',

    data: {
        orgValue:null, //参照的值
        language:{},//多语
        pageHeight:0, //高度
        flag:1, //任务窗格当前的标签
        selectKeys:'0001A710000000000TDP',//树所选的值
        option:['saitu asuka','nanmi','1977-08-28'],
        checkoption:['最近一条','最远一条','最后几条'], //checkbox的选项
        checkSelectRealValue:'', 
        checkdisabled:true, //checkbox 的可控性 
        DateDisableControl:true, //日期格式是否可填写 
        allValue:{
            code: '', //编码
            name:'', //表名
            checked:'',// allcheck 全部选择 numcheck 序号选择
            checkselect:"最近第",//checkbox的select选项
            checkdetail:0,// 具体的控制
            childline:'',//子集显示行数
            // date:'1977-08-28',//日期格式
            date:'0', // 日期格式
            before:'', //前缀
            after:'' //后缀
        },
        selectTable: [{
            code: "addr",
            id: "1001Z710000000000WIX",
            key: "1001Z710000000000WIX",
            name: "家庭地址",
            pid: "0001A710000000000TDP",
            refname: "家庭地址",
            refpk: "1001Z710000000000WIX",
            title: "家庭地址",
        }], //被选中的table所有数据
        chooseKey:'',//选中的table行的key
        checkVlaue:'', //checkBox的默认值
        allTree:[], //总体存储所有数据
        treeData:[
            {"key":"0001A710000000000TDP",
            "title":"HR自助预入职用户组",
            "refname":"HR自助预入职用户组",
            "refpk":"0001A710000000000TDP",
            "id":"0001A710000000000TDP",
            "name":"HR自助预入职用户组",
            "innercode":"N",
            "code":"hrzz_preentry_usergrp",
            "children":[
                {"key":"1001A7100000000001XQ",
                "title":"gbg",
                "refname":"gbg",
                "refpk":"1001A7100000000001XQ",
                "id":"1001A7100000000001XQ",
                "name":"gbg",
                "pid":"0001A710000000000TDP",
                "innercode":"Y",
                "code":"gbg","children":[]},
                {"key":"1001A710000000000343",
                "title":"gyb",
                "refname":"gyb",
                "refpk":"1001A710000000000343",
                "id":"1001A710000000000343","name":"gyb",
                "pid":"0001A710000000000TDP","innercode":"Y","code":"gyb","children":[]},
            ]}], //信息集树的数据
        tableMap:{
            "0001A710000000000TDP":
            [{
                code: "addr",
                id: "1001Z710000000000WIX",
                key: "1001Z710000000000WIX",
                name: "家庭地址",
                pid: "0001A710000000000TDP",
                refname: "家庭地址",
                refpk: "1001Z710000000000WIX",
                title: "家庭地址",
            }]
        }, //信息集表格的映射数据
        highConfig:[
            {
            fieldcode: "hi_psndoc_abroad.abroaddate",
            fieldname: "hr_infoset.出国(出境)时间",
            href_key: "Filter.hi_psndoc_abroad_abroaddate",
            href_name: "@出国境情况.出国(出境)时间条件过滤@",
            href_path: "条件->null{Filter.hi_psndoc_abroad_abroaddate}",
            id: "1001Z710000000003LMV",
            modifiedtime: "2021-02-20 13:49:28" },
        ], //过滤条件设置
        systemTableData:[
            { m_field_name: '时间', type: '1',code: 'CURR_TIME' },
            { m_field_name: '日期', type: '2',code: 'CURR_DATE' },
            { m_field_name: 'asuka', type: '3',code: 'CURR_USER' },
        ], //系统变量
        cangetData:false
    },
    sync: {
        update:(state,payload)=>{
            return {
                ...state,
                ...payload
            };
        }
    },
    // async: {
    // }
}